package com.wimcorp.magic.cards;

import java.util.Set;

import javax.persistence.Entity;

import com.wimcorp.magic.abilities.Ability;
import com.wimcorp.magic.behaviour.Behaviour;
import com.wimcorp.magic.color.Color;
import com.wimcorp.magic.cost.Cost;

@Entity
public class Artifact extends PlayingCard implements Permanent {

	private String type = "Artifact";

	protected Artifact() {
	}

	public Artifact(long multiverseid, String name, String description, Set<Color> colors, Set<Behaviour> behaviours,
			Set<Ability> abilities, Cost... costs) {
		super(multiverseid, name, description, colors, behaviours, abilities, costs);
	}

	private Artifact(PlayingCard card) {
		super(card);
	}

	@Override
	protected PlayingCard copy(PlayingCard original) {
		return new Artifact(original);
	}

	public String getType() {
		return type;
	}

	/*
	 * public String toString(){ StringBuilder card = new
	 * StringBuilder(getName()); card.append("\n"); card.append(getType());
	 * card.append(" - "); card.append(getSubType()); card.append("\n");
	 * card.append(getDescription()); return card.toString(); }
	 */

	public void cast() {

	}

}
